Replace AXS card with OPENAI and add OKX source support for perp tickers - #79
Open
amazing-fish wants to merge 1 commit into
Open
Replace AXS card with OPENAI and add OKX source support for perp tickers#79amazing-fish wants to merge 1 commit into
amazing-fish wants to merge 1 commit into
Conversation
目标:按评审意见替换 FEATURE_CARDS 第三张卡片。\n主要改动:删除 AXS 卡片,新增 OPENAI 卡片并使用 OKX OPENAI-USDT-SWAP;同步更新 ANCHOR 与审计日志。\n测试摘要:node --check AlphaBoard.js 通过。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
price/change/percent/tsrendering contract.Description
@connect www.okx.comand update the userscript header version tov1.7.0inAlphaBoard.js.FEATURE_CARDSwith anOPENAI-USDT-SWAPcard sourced from OKX and update BTC/XAU cards to call the unified fetch wrapper viafetchPerpTicker({ source, symbol }).fetchPerpTickerto accept an object{ source, symbol }, add OKX parsing logic that mapslast/open24h/sodUtc0to the unifiedprice/change/percent/tsoutput, and keep Binance parsing forfapi/v1/ticker/24hr.fetchBtcPerpTicker,fetchXauPerpTicker, andfetchAxsPerpTickerhelpers and updateANCHOR.mdanddocs/audit.logto reflect the feature changes.Testing
node --check AlphaBoard.jssyntax checks after the changes and they passed.ANCHOR.mdreflect thev1.7.0feature additions and the OKX/OPENAI card replacement with successfulnode --check AlphaBoard.jsvalidation.Codex Task